package com.xc.content.convert;

import com.xc.content.bo.TeachPlanBO;
import com.xc.content.entity.TeachPlan;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: hyacinth
 * @CreateTime: 2025-01-07
 * @Version: 1.0
 */
@Mapper
public interface TeachPlanServiceConverter {

    TeachPlanServiceConverter INSTANCE = Mappers.getMapper(TeachPlanServiceConverter.class);

    TeachPlan convertBOToEntity(TeachPlanBO teachPlanBO);

    List<TeachPlan> convertBOListToEntityList(List<TeachPlanBO> teachPlanBO);
}
